* dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 01:59:17 +0000 (18:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 24 May 2011 01:59:17 +0000 (18:59 -0700)
commit3ead2a02599f30e8fe31f6001767d7312704405b
tree766b984a8012846342ba309efba40cca7cde7cb2
parent1380b486b6af9af4cbe81a49c59307bc3ccdc480
* dbusbind.c: Use XFASTINT rather than XUINT, and check for nonneg.

(Fdbus_call_method, Fdbus_call_method_asynchronously):
Use XFASTINT rather than XUINT when numbers are nonnegative.
(xd_append_arg, Fdbus_method_return_internal):
(Fdbus_method_error_internal): Likewise.  Also, for unsigned
arguments, check that Lisp number is nonnegative, rather than
silently wrapping negative numbers around.
src/ChangeLog
src/dbusbind.c